[INFO] fetching crate witnet-bn 0.4.5...
[INFO] checking witnet-bn-0.4.5 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate witnet-bn 0.4.5 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate witnet-bn 0.4.5 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate witnet-bn 0.4.5
[INFO] finished tweaking crates.io crate witnet-bn 0.4.5
[INFO] tweaked toml for crates.io crate witnet-bn 0.4.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate crates.io crate witnet-bn 0.4.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2bd7b77d4e6f6209aa009a70f2c89b2f13a79cb7518bf646fc9b3e57983412cb
[INFO] running `Command { std: "docker" "start" "-a" "2bd7b77d4e6f6209aa009a70f2c89b2f13a79cb7518bf646fc9b3e57983412cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bd7b77d4e6f6209aa009a70f2c89b2f13a79cb7518bf646fc9b3e57983412cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bd7b77d4e6f6209aa009a70f2c89b2f13a79cb7518bf646fc9b3e57983412cb", kill_on_drop: false }`
[INFO] [stdout] 2bd7b77d4e6f6209aa009a70f2c89b2f13a79cb7518bf646fc9b3e57983412cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e24a9bcf9a05ed52974b985386cf2c68f252bbc990d96717ac40a79279b948b
[INFO] running `Command { std: "docker" "start" "-a" "2e24a9bcf9a05ed52974b985386cf2c68f252bbc990d96717ac40a79279b948b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking bincode v0.6.1
[INFO] [stderr]     Checking witnet-bn v0.4.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:25:48
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:25:64
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:135:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:135:64
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:333:48
[INFO] [stdout]     |
[INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:333:64
[INFO] [stdout]     |
[INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:445:48
[INFO] [stdout]     |
[INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:445:64
[INFO] [stdout]     |
[INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:482:48
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:482:64
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:649:48
[INFO] [stdout]     |
[INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:649:64
[INFO] [stdout]     |
[INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:174:22
[INFO] [stdout]     |
[INFO] [stdout] 174 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:37:28
[INFO] [stdout]     |
[INFO] [stdout] 37  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 | / field_impl!(
[INFO] [stdout] 186 | |     Fr,
[INFO] [stdout] 187 | |     [
[INFO] [stdout] 188 | |         0x43e1f593f0000001,
[INFO] [stdout] ...   |
[INFO] [stdout] 211 | |     0x6586864b4c6911b3c2e1f593efffffff
[INFO] [stdout] 212 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:37:28
[INFO] [stdout]     |
[INFO] [stdout] 37  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 | / field_impl!(
[INFO] [stdout] 215 | |     Fq,
[INFO] [stdout] 216 | |     [
[INFO] [stdout] 217 | |         0x3c208c16d87cfd47,
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |     0x9ede7d651eca6ac987d20782e4866389
[INFO] [stdout] 241 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:260:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:16
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:275:17
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:25:48
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:25:64
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:135:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:135:64
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:333:48
[INFO] [stdout]     |
[INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:333:64
[INFO] [stdout]     |
[INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:445:48
[INFO] [stdout]     |
[INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:445:64
[INFO] [stdout]     |
[INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:482:48
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:482:64
[INFO] [stdout]     |
[INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:649:48
[INFO] [stdout]     |
[INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:649:64
[INFO] [stdout]     |
[INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))]
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:174:22
[INFO] [stdout]     |
[INFO] [stdout] 174 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:37:28
[INFO] [stdout]     |
[INFO] [stdout] 37  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 | / field_impl!(
[INFO] [stdout] 186 | |     Fr,
[INFO] [stdout] 187 | |     [
[INFO] [stdout] 188 | |         0x43e1f593f0000001,
[INFO] [stdout] ...   |
[INFO] [stdout] 211 | |     0x6586864b4c6911b3c2e1f593efffffff
[INFO] [stdout] 212 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:37:28
[INFO] [stdout]     |
[INFO] [stdout] 37  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 | / field_impl!(
[INFO] [stdout] 215 | |     Fq,
[INFO] [stdout] 216 | |     [
[INFO] [stdout] 217 | |         0x3c208c16d87cfd47,
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |     0x9ede7d651eca6ac987d20782e4866389
[INFO] [stdout] 241 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:260:17
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:16
[INFO] [stdout]     |
[INFO] [stdout] 264 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:275:17
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]  --> src/fields/tests.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{Rng, SeedableRng, StdRng};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:125:32
[INFO] [stdout]     |
[INFO] [stdout] 125 |     rand_element_squaring::<F, StdRng>(&mut rng);
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:126:45
[INFO] [stdout]     |
[INFO] [stdout] 126 |     rand_element_addition_and_negation::<F, StdRng>(&mut rng);
[INFO] [stdout]     |                                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |     rand_element_multiplication::<F, StdRng>(&mut rng);
[INFO] [stdout]     |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:128:31
[INFO] [stdout]     |
[INFO] [stdout] 128 |     rand_element_inverse::<F, StdRng>(&mut rng);
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/fields/tests.rs:129:28
[INFO] [stdout]     |
[INFO] [stdout] 129 |     rand_element_eval::<F, StdRng>(&mut rng);
[INFO] [stdout]     |                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1106:19
[INFO] [stdout]      |
[INFO] [stdout] 1106 |     let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1099:29
[INFO] [stdout]      |
[INFO] [stdout] 1099 |     use rand::{SeedableRng, StdRng};
[INFO] [stdout]      |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1126:19
[INFO] [stdout]      |
[INFO] [stdout] 1126 |     let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1119:29
[INFO] [stdout]      |
[INFO] [stdout] 1119 |     use rand::{SeedableRng, StdRng};
[INFO] [stdout]      |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1158:19
[INFO] [stdout]      |
[INFO] [stdout] 1158 |     let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]     --> src/groups/mod.rs:1151:29
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     use rand::{SeedableRng, StdRng};
[INFO] [stdout]      |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]    --> src/groups/tests.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead
[INFO] [stdout]   --> src/groups/tests.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use rand::{SeedableRng, StdRng};
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `bn`
[INFO] [stdout]  --> examples/dh.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate bn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `bn`
[INFO] [stdout]  --> benches/api.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `bn`
[INFO] [stdout]  --> examples/joux.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate bn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let alice_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Fr`
[INFO] [stdout]    |                    help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `witnet-bn` (example "joux") due to 2 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let bob_sk = Fr::random(rng);
[INFO] [stdout]    |                  ^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  use of undeclared type `Fr`
[INFO] [stdout]    |                  help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let carol_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    use of undeclared type `Fr`
[INFO] [stdout]    |                    help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let alice_pk = G1::one() * alice_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let bob_pk = G1::one() * bob_sk;
[INFO] [stdout]    |                  ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let carol_pk = G1::one() * carol_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `witnet-bn` (example "dh") due to 8 previous errors
[INFO] [stdout] error[E0412]: cannot find type `G1` in this scope
[INFO] [stdout]   --> benches/api.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |            decode::<G1>(input).unwrap()
[INFO] [stdout]    |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]   --> benches/api.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |            decode::<G2>(input).unwrap()
[INFO] [stdout]    |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `bn`
[INFO] [stdout]  --> tests/serialization.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate bn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = G1::random(rng);
[INFO] [stdout]    |                         ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp};
[INFO] [stdout]    |                                        ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |            input(rng) = G2::random(rng);
[INFO] [stdout]    |                         ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |            input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp};
[INFO] [stdout]    |                                        ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:58:34
[INFO] [stdout]    |
[INFO] [stdout] 58 |            input(rng) = {encode(&G1::random(rng), Infinite).unwrap()};
[INFO] [stdout]    |                                  ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = {encode(&G2::random(rng), Infinite).unwrap()};
[INFO] [stdout]    |                                  ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          use of undeclared type `Fr`
[INFO] [stdout]    |                          help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           use of undeclared type `Fr`
[INFO] [stdout]    |                                           help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          use of undeclared type `Fr`
[INFO] [stdout]    |                          help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           use of undeclared type `Fr`
[INFO] [stdout]    |                                           help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          use of undeclared type `Fr`
[INFO] [stdout]    |                          help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           use of undeclared type `Fr`
[INFO] [stdout]    |                                           help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |            input(rng) = Fr::random(rng);
[INFO] [stdout]    |                         ^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         use of undeclared type `Fr`
[INFO] [stdout]    |                         help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:94:26
[INFO] [stdout]    |
[INFO] [stdout] 94 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:94:43
[INFO] [stdout]    |
[INFO] [stdout] 94 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:100:43
[INFO] [stdout]     |
[INFO] [stdout] 100 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:106:26
[INFO] [stdout]     |
[INFO] [stdout] 106 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> benches/api.rs:106:43
[INFO] [stdout]     |
[INFO] [stdout] 106 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]     |                                           ^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           use of undeclared type `Fr`
[INFO] [stdout]     |                                           help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:112:43
[INFO] [stdout]     |
[INFO] [stdout] 112 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:118:26
[INFO] [stdout]     |
[INFO] [stdout] 118 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:118:43
[INFO] [stdout]     |
[INFO] [stdout] 118 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:124:26
[INFO] [stdout]     |
[INFO] [stdout] 124 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> benches/api.rs:124:43
[INFO] [stdout]     |
[INFO] [stdout] 124 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]     |                                           ^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           use of undeclared type `Fr`
[INFO] [stdout]     |                                           help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:131:27
[INFO] [stdout]     |
[INFO] [stdout] 131 |                let g1_1 = G1::random(rng);
[INFO] [stdout]     |                           ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:132:27
[INFO] [stdout]     |
[INFO] [stdout] 132 |                let g2_1 = G2::random(rng);
[INFO] [stdout]     |                           ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:134:27
[INFO] [stdout]     |
[INFO] [stdout] 134 |                let g1_2 = G1::random(rng);
[INFO] [stdout]     |                           ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:135:27
[INFO] [stdout]     |
[INFO] [stdout] 135 |                let g2_2 = G2::random(rng);
[INFO] [stdout]     |                           ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:137:38
[INFO] [stdout]     |
[INFO] [stdout] 137 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]     |                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                let g1 = G1::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |                let g2 = G2::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:148:16
[INFO] [stdout]     |
[INFO] [stdout] 148 |                pairing(g1, g2)
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> benches/api.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 149 |            }, Fr::random(rng));
[INFO] [stdout]     |               ^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Fr`
[INFO] [stdout]     |               help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |            pairing(input.0, input.1)
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 41 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `witnet-bn` (bench "api") due to 42 previous errors
[INFO] [stdout] error[E0412]: cannot find type `G1` in this scope
[INFO] [stdout]   --> tests/serialization.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert!(from_hex::<G1>("00").unwrap() == G1::zero());
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G1>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]   --> tests/serialization.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |     assert!(from_hex::<G2>("00").unwrap() == G2::zero());
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G2>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G1` in this scope
[INFO] [stdout]   --> tests/serialization.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |     assert!(from_hex::<G1>("23").is_none());
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G1>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]   --> tests/serialization.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |     assert!(from_hex::<G2>("23").is_none());
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G2>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G1` in this scope
[INFO] [stdout]   --> tests/serialization.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |     assert!(from_hex::<G1>("04177cedb64589bde7a64ad24f89bbb8c9f05535810865aaea8fbf8184ff9e120313500226b2422d2068614d1c8c7146c806a97743e78...
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G1>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]   --> tests/serialization.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |     assert!(from_hex::<G2>("0404d4bf3239f77cee7b47c7245e9280b3e9c1182d6381a87bbf81f9f2a6254b731df569cda95e060bee91ba69b3f2d103658a7aea6b1...
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G2>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]   --> tests/serialization.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |     assert!(from_hex::<G2>("04ffd6a64a62b843a22c6250eda2354d603e74c30ed0b1435951c3f7dd541538beb8a43915823125c6bb89aece89125664ce78ca69b81...
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn group_serialization_edge_cases<G2>() {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G1` in this scope
[INFO] [stdout]      --> tests/serialization.rs:10086:28
[INFO] [stdout]       |
[INFO] [stdout] 10086 |         assert!(from_hex::<G1>(expected[i]).unwrap() == acc);
[INFO] [stdout]       |                            ^^ not found in this scope
[INFO] [stdout]       |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 77    | fn g1_vectors<G1>() {
[INFO] [stdout]       |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `G2` in this scope
[INFO] [stdout]      --> tests/serialization.rs:20102:28
[INFO] [stdout]       |
[INFO] [stdout] 20102 |         assert!(from_hex::<G2>(expected[i]).unwrap() == acc);
[INFO] [stdout]       |                            ^^ not found in this scope
[INFO] [stdout]       |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 10093 | fn g2_vectors<G2>() {
[INFO] [stdout]       |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]      --> tests/serialization.rs:20123:16
[INFO] [stdout]       |
[INFO] [stdout] 20123 |     from_hex::<Fr>("30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000").unwrap();
[INFO] [stdout]       |                ^^
[INFO] [stdout]      --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/ops/function.rs:76:1
[INFO] [stdout]       |
[INFO] [stdout]       = note: similarly named trait `Fn` defined here
[INFO] [stdout]       |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]       |
[INFO] [stdout] 20123 |     from_hex::<Fn>("30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000").unwrap();
[INFO] [stdout]       |                ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 20121 | fn fr_test_invalid_representations<Fr>() {
[INFO] [stdout]       |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]      --> tests/serialization.rs:20126:24
[INFO] [stdout]       |
[INFO] [stdout] 20126 |     assert!(from_hex::<Fr>("30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001").is_none());
[INFO] [stdout]       |                        ^^
[INFO] [stdout]      --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/ops/function.rs:76:1
[INFO] [stdout]       |
[INFO] [stdout]       = note: similarly named trait `Fn` defined here
[INFO] [stdout]       |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]       |
[INFO] [stdout] 20126 |     assert!(from_hex::<Fn>("30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001").is_none());
[INFO] [stdout]       |                        ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 20121 | fn fr_test_invalid_representations<Fr>() {
[INFO] [stdout]       |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]      --> tests/serialization.rs:20129:24
[INFO] [stdout]       |
[INFO] [stdout] 20129 |     assert!(from_hex::<Fr>("f0644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001").is_none());
[INFO] [stdout]       |                        ^^
[INFO] [stdout]      --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/ops/function.rs:76:1
[INFO] [stdout]       |
[INFO] [stdout]       = note: similarly named trait `Fn` defined here
[INFO] [stdout]       |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]       |
[INFO] [stdout] 20129 |     assert!(from_hex::<Fn>("f0644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001").is_none());
[INFO] [stdout]       |                        ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 20121 | fn fr_test_invalid_representations<Fr>() {
[INFO] [stdout]       |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]      --> tests/serialization.rs:20130:24
[INFO] [stdout]       |
[INFO] [stdout] 20130 |     assert!(from_hex::<Fr>("ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000").is_none());
[INFO] [stdout]       |                        ^^
[INFO] [stdout]      --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/ops/function.rs:76:1
[INFO] [stdout]       |
[INFO] [stdout]       = note: similarly named trait `Fn` defined here
[INFO] [stdout]       |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]       |
[INFO] [stdout] 20130 |     assert!(from_hex::<Fn>("ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000").is_none());
[INFO] [stdout]       |                        ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 20121 | fn fr_test_invalid_representations<Fr>() {
[INFO] [stdout]       |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]      --> tests/serialization.rs:30141:28
[INFO] [stdout]       |
[INFO] [stdout] 30141 |         assert!(from_hex::<Fr>(expected[i]).unwrap() == acc);
[INFO] [stdout]       |                            ^^
[INFO] [stdout]      --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/ops/function.rs:76:1
[INFO] [stdout]       |
[INFO] [stdout]       = note: similarly named trait `Fn` defined here
[INFO] [stdout]       |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]       |
[INFO] [stdout] 30141 |         assert!(from_hex::<Fn>(expected[i]).unwrap() == acc);
[INFO] [stdout]       |                            ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]       |
[INFO] [stdout] 20134 | fn fr_vectors<Fr>() {
[INFO] [stdout]       |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> tests/serialization.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let b = Fr::random(&mut rand::thread_rng());
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             use of undeclared type `Fr`
[INFO] [stdout]    |             help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> tests/serialization.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut a = G1::one();
[INFO] [stdout]    |                 ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> tests/serialization.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut a = G2::one();
[INFO] [stdout]    |                 ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> tests/serialization.rs:63:46
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert!(from_hex::<G1>("00").unwrap() == G1::zero());
[INFO] [stdout]    |                                              ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> tests/serialization.rs:64:46
[INFO] [stdout]    |
[INFO] [stdout] 64 |     assert!(from_hex::<G2>("00").unwrap() == G2::zero());
[INFO] [stdout]    |                                              ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]      --> tests/serialization.rs:10081:19
[INFO] [stdout]       |
[INFO] [stdout] 10081 |     let mut acc = G1::one();
[INFO] [stdout]       |                   ^^ use of undeclared type `G1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]      --> tests/serialization.rs:10082:14
[INFO] [stdout]       |
[INFO] [stdout] 10082 |     let by = Fr::from_str("23938123").unwrap();
[INFO] [stdout]       |              ^^
[INFO] [stdout]       |              |
[INFO] [stdout]       |              use of undeclared type `Fr`
[INFO] [stdout]       |              help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]      --> tests/serialization.rs:20097:19
[INFO] [stdout]       |
[INFO] [stdout] 20097 |     let mut acc = G2::one();
[INFO] [stdout]       |                   ^^ use of undeclared type `G2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]      --> tests/serialization.rs:20098:14
[INFO] [stdout]       |
[INFO] [stdout] 20098 |     let by = Fr::from_str("23938123").unwrap();
[INFO] [stdout]       |              ^^
[INFO] [stdout]       |              |
[INFO] [stdout]       |              use of undeclared type `Fr`
[INFO] [stdout]       |              help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]      --> tests/serialization.rs:20110:17
[INFO] [stdout]       |
[INFO] [stdout] 20110 |     let mut a = Fr::one();
[INFO] [stdout]       |                 ^^
[INFO] [stdout]       |                 |
[INFO] [stdout]       |                 use of undeclared type `Fr`
[INFO] [stdout]       |                 help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]      --> tests/serialization.rs:20111:13
[INFO] [stdout]       |
[INFO] [stdout] 20111 |     let b = Fr::from_str("17").unwrap();
[INFO] [stdout]       |             ^^
[INFO] [stdout]       |             |
[INFO] [stdout]       |             use of undeclared type `Fr`
[INFO] [stdout]       |             help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]      --> tests/serialization.rs:30138:19
[INFO] [stdout]       |
[INFO] [stdout] 30138 |     let mut acc = Fr::one();
[INFO] [stdout]       |                   ^^
[INFO] [stdout]       |                   |
[INFO] [stdout]       |                   use of undeclared type `Fr`
[INFO] [stdout]       |                   help: a trait with a similar name exists: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `witnet-bn` (test "serialization") due to 28 previous errors
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2e24a9bcf9a05ed52974b985386cf2c68f252bbc990d96717ac40a79279b948b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e24a9bcf9a05ed52974b985386cf2c68f252bbc990d96717ac40a79279b948b", kill_on_drop: false }`
[INFO] [stdout] 2e24a9bcf9a05ed52974b985386cf2c68f252bbc990d96717ac40a79279b948b
